<script>
$(document).ready(function(){
	{params}
	
	var c = {
		init:function(){
			importcss('indexwe');
			importcss('chat');
			this.cnum = params.cnum;
			importjs('reim', function(){
				c.showreim();
			});
		},
		showreim:function(){
			reim.cnum 	= this.cnum;
			reim.ismobile = 1;
			js.initbtn(reim);
		}
	}
	c.init();
	
});
</script>
<div resizes="0" id="viewzhulist" style="position:absolute;z-index:2;height:70px;overflow:hidden;background: var(--back-color);width:100%;top:0px;bottom:0px;user-select: none;display:none"></div>

<div resizes="71" style="height:300px;overflow:auto;user-select: none">

	<div id="centshow0">
		<div id="historylist"></div>
		<div id="historylist_tems" style="padding-top:150px;text-align:center;color:#cccccc">
		<span style="font-size:30px"><i class="icon-comment-alt"></i></span><br>暂无消息
		</div>
	</div>
	<div id="centshow1" style="display:none"></div>
	<div id="centshow2" style="display:none">
	
		<div class="fontsize14" style="padding:5px;color:#aaaaaa;border-bottom:.5px rgba(0,0,0,0.1) solid">组织结构</div>
		<div id="showdept" style="margin:0px"></div>
		
		<div class="fontsize14" style="padding:5px;color:#aaaaaa;border-bottom:.5px rgba(0,0,0,0.1) solid;">会话群(<span id="groupzs">0</span>)</div>
		<div id="showgroup"></div>
		
		<div align="center" style="padding:10px;"><a clickevt="shuaxins" style="font-size:12px;color:#cccccc" href="javascript:;"><i class="icon-refresh"></i> 刷新</a></div>
	</div>
	<div id="centshow3" style="display:none;padding:10px 0px">
		
		
		<div style="background:white;padding:10px" class="rock-border-b rock-border-t">
			<table><tr>
				<td style="padding:2px 10px"><img src="images/noface.png" id="reim_myface" style="border-radius:50%;" class="cursor" align="absmiddle" height="50" width="50"></td>
				<td>
					<div id="namediv">.</div>
					<div id="namesdiv" class="hui fontsize14">..</div>
				</td>
			</tr></table>
		</div>
		

		<div style="padding:15px 5px 2px 10px;" class="hui fontsize14 rock-border-b">单位上信息</div>
		<div class="rock-panel">
			<div class="rock-list-item rock-border-b">
				手机号
				<font class="hui"><span class="fontsize14" show="mobile" id="mobilediv"></span></font>
			</div>
			<div class="rock-list-item rock-actives rock-border-b" clickevt="qhdw">
				当前单位
				<font class="hui"><span class="fontsize14" id="companynamediv"></span>&nbsp;<i class="icon-angle-right"></i></font>
			</div>
			<div class="rock-list-item rock-border-b">
				职位
				<font class="hui"><span class="fontsize14" id="zhiweidiv"></span></font>
			</div>
			<div class="rock-list-item rock-border-b">
				单位用户级别
				<font class="hui"><span class="fontsize14" id="unitjibie"></span></font>
			</div>
			<div clickevt="creagegroup" class="rock-list-item rock-actives rock-border-b">
				创建群
				<font class="hui"><i class="icon-angle-right"></i></font>
			</div>
		</div>
		
		
		<div style="padding:15px 5px 2px 10px;" class="hui fontsize14 rock-border-b"></div>
		<div class="rock-panel">
			<div class="rock-list-item rock-actives rock-border-b" clickevt="wecog">
				平台帐号
				<font class="hui"><i class="icon-angle-right"></i></font>
			</div>
		</div>
		
		<div style="padding:15px 5px 2px 10px;" class="hui fontsize14 rock-border-b"></div>
		<div class="rock-panel">
			<div class="rock-list-item rock-actives rock-border-b" style="text-align:center;color:var(--danger-color)" clickevt="exit">
				退出系统
			</div>
		</div>
		
	</div>
	
</div>



<div style="position:fixed;height:70px;overflow:hidden;background:#f7f7f7;width:100%;bottom:0px;border-top:0.5px #dddddd solid;color:#888888;user-select: none">
<table width="100%" height="70px;"><tr>
<td width="25%" id="tabitem0" class="tabactive" clickevt="changtab,0" style="position:relative" align="center">
	<div style="font-size:22px"><i class="icon-comment-alt"></i></div>
	<div class="fontsize14">消息</div>
	<span id="chat_stotal" style="position:absolute;top:2px;right:2px;display:none" class="badge"></span>
</td>
<td width="25%" id="tabitem1" align="center" clickevt="changtab,1" style="position:relative">
	<div style="font-size:22px"><i class="icon-th-large"></i></div>
	<div class="fontsize14">应用</div>
	<span id="agent_stotal" style="position:absolute;top:2px;right:2px;display:none" class="badge"></span>
</td>
<td width="25%" id="tabitem2" align="center" clickevt="changtab,2">
	<div style="font-size:22px"><i class="icon-sitemap"></i></div>
	<div class="fontsize14">通讯录</div>
</td>
<td width="25%" id="tabitem3" align="center" clickevt="changtab,3">
	<div style="font-size:22px"><i class="icon-user"></i></div>
	<div class="fontsize14">我</div>
</td>
</tr></table>
</div>